# SPDX-License-Identifier: GPL-2.0
#
# linux/drivers/mtd/devices/hisfc300/Makefile
#
ccflags-y += -Idrivers/mtd -Iarch/arm/mach-hisi/include -Iarch/arm/include/uapi
ifeq ("$(strip $(HW_ONT_BIN_VERSION))","BIN6")
ccflags-y += -DHW_ONT_CUT_VERSION
endif

ifeq ($(CONFIG_RTOS_MODULE_PRELOADING), y)
hi-norflash-y += hisfc300.o spi_ids.o hifmc.o
obj-$(CONFIG_MTD_HISFC300) += hi-norflash.o
endif
